package com.secfound.soccer.client.tools;

import com.secfound.soccer.shared.db.Team;

/**
 * Generates html code to show flags.
 * @author alfonso.ayala
 *
 */
public class Flagman {
	public static String getHTML(Team team) {
		String str ="";
		if(team!=null){
			str = "<span class='flagsp flagsp_"+ team.getFlag()  +"' title='"+  team.getName()+  "'> </span>"+
					" - "+ team.getName();
		}
		return str;
	}
}
